package com.crane.starter;

import cn.dev33.satoken.SaManager;
import com.dtflys.forest.springboot.annotation.ForestScan;
import lombok.extern.slf4j.Slf4j;
import org.dromara.x.file.storage.spring.EnableFileStorage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@EnableScheduling
@EnableFileStorage
@ForestScan(basePackages = "com.crane.framework.http")
@SpringBootApplication(scanBasePackages = "com.crane")
public class StarterApplication {

  public static void main(String[] args) {
    SpringApplication.run(StarterApplication.class, args);
    log.info("-----------------CraneContractor 启动成功-----------------");
  }
}
